const time = () => {
    const time = new Date();
    const hour = time.getHours();
    if (hour < 11) {
        return "早上好 ！"
    }
    else if (hour < 12) {
        return "中午好 ！"
    }
    else if (hour < 18) {
        return "下午好 ！"
    }
    else {
        return "晚上好 ！"
    }
}

export default time